InvokeScript(String,Object[]) Method
Executes an Active Scripting function (with arguments) defined in an HTML page.
'Declaration
Overloads Function InvokeScript( _
ByVal As String, _
ByVal () As Object _
) As Object
'Usage
Dim instance As IWebDocument
Dim scriptName As String
Dim arguments() As Object
Dim value As Object
value = instance.InvokeScript(scriptName, arguments)
Parameters
- scriptName
- Name of the script function.
- arguments
- The array of script function's arguments.
Return Value
The object returned by the Active Scripting call.